import { baseUrlApi, requestClient, type Result } from '#/api/request';

/**
 * 获取用户信息
 */
export async function getUserInfoApi() {
  return requestClient.get<Result>(baseUrlApi('/admin/my/info'));
}

/**
 * 获取用户信息
 */
export async function userSso() {
  return requestClient.get<Result>('/user/sso/index');
}
